package com.tcu.order.entity.bo;

import com.tcu.order.entity.OrderItem;
import com.tcu.order.entity.OrderPicture;
import com.tcu.order.entity.OrderVideo;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class OrderBo {
//    订单的信息
    private String id;

    private String userId;
    private String workerId;
    private Double totalPrice;
    private String orderParentId;

    private Integer isDeleted;

    private LocalDateTime gmtCreate;
    private LocalDateTime gmtModified;

    private Integer status;
    private String address;
    private String pay_method;
    private String orderDescription;
    private Integer version;
//    订单项的信息
    private List<OrderItem> orderItemList;

    private List<OrderPicture> orderPictures;
    private List<OrderVideo> orderVideos;
}
